package cn.stylefeng.guns.modular.cb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 招聘职位
 * </p>
 *
 * @author wj
 * @since 2021-01-05
 */
@TableName("cb_position")
public class CbPosition implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 职位性质 实习/兼职
     */
    @TableField("nature")
    private String nature;

    /**
     * 职位编号
     */
    @TableField("no")
    private String no;

    /**
     * 职位名称
     */
    @TableField("name")
    private String name;

    /**
     * 状态 进行中/关闭 （废弃）
     */
    @TableField("state")
    private String state;

    /**
     * 状态 进行中/关闭 1/2
     */
    @TableField("type")
    private Integer type;

    /**
     * 学历
     */
    @TableField("schooling")
    private String schooling;

    /**
     * 工作城市
     */
    @TableField("city")
    private String city;

    /**
     * 薪资
     */
    @TableField("salary")
    private String salary;

    /**
     * 描述
     */
    @TableField("remark")
    private String remark;

    /**
     * 简历邮箱
     */
    @TableField("email")
    private String email;

    /**
     * 企业
     */
    @TableField("company_id")
    private Long companyId;

    /**
     * 投递数量
     */
    @TableField("resume_count")
    private Integer resumeCount;

    /**
     * 创建时间
     */
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
      @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 更新时间
     */
      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 更新人
     */
      @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNature() {
        return nature;
    }

    public void setNature(String nature) {
        this.nature = nature;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getSchooling() {
        return schooling;
    }

    public void setSchooling(String schooling) {
        this.schooling = schooling;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getResumeCount() {
        return resumeCount;
    }

    public void setResumeCount(Integer resumeCount) {
        this.resumeCount = resumeCount;
    }

    @Override
    public String toString() {
        return "CbPosition{" +
                "id=" + id +
                ", nature='" + nature + '\'' +
                ", no='" + no + '\'' +
                ", name='" + name + '\'' +
                ", state='" + state + '\'' +
                ", type=" + type +
                ", schooling='" + schooling + '\'' +
                ", city='" + city + '\'' +
                ", salary='" + salary + '\'' +
                ", remark='" + remark + '\'' +
                ", email='" + email + '\'' +
                ", companyId='" + companyId + '\'' +
                ", resumeCount=" + resumeCount +
                ", createTime=" + createTime +
                ", createUser=" + createUser +
                ", updateTime=" + updateTime +
                ", updateUser=" + updateUser +
                ", version=" + version +
                '}';
    }
}
